(function() {
    'use strict';

    /**
     * @ngdoc function
     * @name webApp.controller:MainCtrl
     * @description
     * # MainCtrl
     * Controller of the webApp
     */
    angular.module('webApp')
        .controller('MainCtrl', MainCtrl);

    MainCtrl.$inject = ['$scope', 'dataService','helper','$rootScope'];

    function MainCtrl($scope, dataService,helper,$rootScope) {
        $scope.indexAction = function() {

        }
        $scope.login=function(){
            $rootScope.$broadcast('event:auth-shoploginRequired');
        }
    }
})();